Activitypub\Activitypub B

Total Complexity 92
Dependencies 17
Dependents 1
Total lines 1,057
Lines of code 762
Logical lines of code 273
Comment lines 167
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
register_post_types()
B
24
8 290
render_activitypub_template()
A
44 15 42
register_user_meta()
A
32 1 159
template_redirect()
A
51 9 29
pre_get_avatar_data()
A
49 9 29
redirect_canonical()
S
55 6 21
add_rewrite_rules()
S
54 5 21
activate()
S
58 5 14
deactivate()
S
58 5 14
add_headers()
S
56 4 18
prevent_empty_post_meta()
S
59 4 14
default_post_metadata()
S
60 4 13
theme_compat()
S
59 3 16
init()
S
50 2 25
no_trailing_redirect()
S
71 2 6
user_register()
S
70 2 6
user_options_default()
S
72 2 6
uninstall()
S
70 1 6
add_query_vars()
S
65 1 10
trash_post()
S
68 1 8
untrash_post()
S
79 1 3
flush_rewrite_rules()
S
76 1 4
register_oembed_providers()
S
66 1 8